Fix #2997: error message when version not found could be improved
authorAndrew Watts <a@andwur.com>
Mon, 17 Apr 2017 12:24:56 +0000 (21:54 +0930)
committerAndrew Watts <a@andwur.com>
Mon, 17 Apr 2017 12:41:11 +0000 (22:11 +0930)
commitf2b7fd73a93a88c2864f2c068f76316f83bfd850
treee2d46e053684338dcc8eab5c026d1c1939fe8f91
parent0ba36c1c610d5eb2e2a7ef9ac82b7b474a530e21
Fix #2997: error message when version not found could be improved

This changes the error message when a package *is* found but there's no
matching version to be a little more helpful.

Old: "no matching package named `...`"
New: "no matching version `...` found for package `...`"
src/cargo/core/resolver/mod.rs
tests/build.rs
tests/registry.rs